import common from './common'
import paths from './paths'
const customDataService = {};
(function (service) {
  /**
   * 检测认证是否已开启
   */
  service.saveData = function (params, data) {
    return common.post(paths.customdata.saveData, params, data)
  }
  service.getData = function (params, data) {
    return common.post(paths.customdata.getData, params, data)
  }
})(customDataService)

export default customDataService
